﻿using Adnc.Application.Shared.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Usr.Application.Contracts.Dtos
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class UserBaseInfoDto : IDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 账户
        /// </summary>
        public int Account { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string Nickname { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string Head { get; set; }

        /// <summary>
        /// 性别（性别 0：未知、1：男、2：女）
        /// </summary>
        public int Gender { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string Tel { get; set; }

        /// <summary>
        /// 是否有上级
        /// </summary>
        public bool Superior { get; set; } = true;

        /// <summary>
        /// 
        /// </summary>
        public string UnionID { get; set; }


        /// <summary>
        /// 会员等级（1：普通，2：V0;3: V1;4: V2;5: V3;6: V4;7: V5）
        /// </summary>
        public int Grade { get; set; }

        /// <summary>
        /// 代理积分
        /// </summary>
        public int ProxyIntegral { get; set; }

        /// <summary>
        /// 小区单量
        /// </summary>
        public int CommunityIntegral { get; set; }

        /// <summary>
        /// 消费积分
        /// </summary>
        public int ConsumptionPoints { get; set; }

        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }

        /// <summary>
        /// 购物金
        /// </summary>
        public decimal ShoppingMoney { get; set; }

        /// <summary>
        /// 提现金额
        /// </summary>
        public decimal WithdrawalAmount { get; set; }

        /// <summary>
        /// 是否有升级申请
        /// </summary>
        public bool HasUpgradeApplication { get; set; }
    }
}
